﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Ccit.OA.NewsCenter
{
    /// <summary>
    /// define word or excel content message object (NEWS_A4)
    /// </summary>
    public class MsContent
    {
        #region 私有属性

        private string _newsId;
        private byte[] _content;
        private string _contentSize;
        private string _contentType;

        #endregion

        #region 公开属性

        public string NewsId { set { _newsId = value; } get { return ((!string.IsNullOrEmpty(_newsId)) ? _newsId : ""); } }

        public byte[] Content { set { _content = value; } get { return _content; } }

        public string ContentSize { set { _contentSize = value; } get { return ((!string.IsNullOrEmpty(_contentSize)) ? _contentSize : ""); } }

        public string ContentType { set { _contentType = value; } get { return ((!string.IsNullOrEmpty(_contentType)) ? _contentType : ""); } }

        #endregion

        public MsContent() { }
    }
}
